package top.longmarch.flow.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author YuYue
 * @since 2024-04-08
 */
@Getter
@Setter
@TableName("liteflow_chain")
@ApiModel(value = "LiteflowChain对象", description = "流程对象")
public class LiteflowChain implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("application_name")
    private String applicationName;

    @TableField("chain_name")
    private String chainName;

    @TableField("chain_desc")
    private String chainDesc;

    @TableField("request_bean")
    private String requestBean;

    @TableField("request_example")
    private String requestExample;

    @TableField("context_beans")
    private String contextBeans;

    @TableField("el_data")
    private String elData;

    @TableField("json_data")
    private String jsonData;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField("enable")
    private Boolean enable;

    @TableField("modify_permissions")
    private Boolean modifyPermissions;

}
